package apitalkroom1;

import java.net.Socket;

public class Client {
    private Socket socket;
    public Client()
    {
        try {
            System.out.println("正在连接服务器...");
            socket = new Socket("192.168.0.12", 8089);
            System.out.println("连接服务器成功!");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    public void start(){}

    public static void main(String[] args) {
        Client client = new Client();
        client.start();
    }
}
